cmake_minimum_required(VERSION 2.8)
project(test_boost_spirit)

set(CMAKE_CXX_STANDARD 11)

find_package(Boost  REQUIRED system )
include_directories(${Boost_INCLUDE_DIRS})

set(SOURCE_FILES list_hello.cpp)
add_executable(list_hello ${SOURCE_FILES})
target_link_libraries(list_hello ${Boost_LIBRARIES})

add_executable(is_float is_float.cpp)
target_link_libraries(is_float ${Boost_LIBRARIES})

add_executable(show_real show_real.cpp)
target_link_libraries(show_real ${Boost_LIBRARIES})

add_executable(struct_fun struct_fun.cpp)
target_link_libraries(struct_fun ${Boost_LIBRARIES})

add_executable(plusminus plusminus.cpp)
target_link_libraries(plusminus ${Boost_LIBRARIES})

add_executable(wplusminus wplusminus.cpp)
target_link_libraries(wplusminus ${Boost_LIBRARIES})

add_executable(logic_relation logic_relation.cpp)
target_link_libraries(logic_relation ${Boost_LIBRARIES})

add_executable(funp funp.cpp)
target_link_libraries(funp ${Boost_LIBRARIES})

add_executable(funpplus funpplus.cpp)
target_link_libraries(funpplus ${Boost_LIBRARIES})

add_executable(context_fun_map context_fun_map.cpp)
target_link_libraries(context_fun_map ${Boost_LIBRARIES})
